<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import ="java.util.*" %>

<%@include file="../header.jsp"%>

<div style="text-align: center">
		<ul id="admin_tab">
				<li id="admin_tab_1" class=""><a href="<%=path%>/adminIndex.admin"><strong>관리자 메인</strong></a></li>
				<li id="admin_tab_2" class=""><a href="<%=path%>/admin_room.admin"><strong>객실 관리</strong></a></li>
				<li id="admin_tab_3" class=""><a href="<%=path%>/reservation.admin"><strong>예약 관리</strong></a></li>
				<li id="admin_tab_4" class="on"><a href="<%=path%>/boardAdmin.admin"><strong>게시판 관리</strong></a></li>
		</ul>
</div>

					
<div id="container">
	<div id="scontents">
		<script type="text/javascript">
			initNavigation('7');
		</script>
		<script language="JavaScript">
			function MailTo(no) {
				hiddenframe.document.location.href = 'http://h-ps011u.monowebs.co.kr/board/index.php?mode=MailTo&board=noticeboard&no='
						+ no;
			}
		</script>
		
		<h2 id="sub_title">
			<span class="Etitle">NOTICE</span><span class="ktitle">공지사항</span>
		</h2>
		<script language="javascript">
			var DefaultURL = 'http://h-ps011u.monowebs.co.kr/board/index.php?board=noticeboard&key=&keyfield=';
			function change_sort(how, is_sort) {
				how += (is_sort) ? "_a" : "_d";
				document.location.href = DefaultURL + '&category=&reply=&sort='
						+ how;
			}
		</script>

		<div id="notice">
			<div id="select_area"></div>
			<div id="board_list">
				<table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" class="board_list">
					<colgroup>
						<col width="5%">
						<col width="30%">
						<col width="5%">
						<col width="10%">
						<col width="5%">
						<col width="5%">
					</colgroup>
					<thead>
						<tr>

							<th scope="col">No</th>
							<th scope="col">제목</th>
							<th scope="col">글쓴이</th>
							<th scope="col">등록일</th>
							<th scope="col">조회</th>
							<th scope="col" class="borderRno">삭제</th>
						</tr>
					</thead>
					

					<tbody>
						<c:forEach var="nb" items="${Nboard}">
							<tr class="li_bg1">
								<td onclick="javascript:location.href = '<%=path%>/BoardDetail.admin?nb_no=${nb.NB_NO}&ripple_subid=${nb.NB_NO}'">${nb.NB_NO}</td>
								<td onclick="javascript:location.href = '<%=path%>/BoardDetail.admin?nb_no=${nb.NB_NO}&ripple_subid=${nb.NB_NO}'" class="board_title boardnbst_title">${nb.NB_TITLE}</td>
								<td onclick="javascript:location.href = '<%=path%>/BoardDetail.admin?nb_no=${nb.NB_NO}&ripple_subid=${nb.NB_NO}'">${nb.NB_NAME}</td>
								<td onclick="javascript:location.href = '<%=path%>/BoardDetail.admin?nb_no=${nb.NB_NO}&ripple_subid=${nb.NB_NO}'">${nb.NB_DATE}</td>
								<td onclick="javascript:location.href = '<%=path%>/BoardDetail.admin?nb_no=${nb.NB_NO}&ripple_subid=${nb.NB_NO}'">${nb.NB_HIT}</td>
								<td style="padding: 5px 5px"> <input type="button" name="item_ck" value="삭제" onClick="location.href ='deleteBoard.admin?nb_no=${nb.NB_NO}'"/></td>
							</tr>
						</c:forEach>
					</tbody>

				</table>
				
				<div class="btn_submit2" style="display:inline; float:right; font: bold 12px/12px 굴림,Gulim,sans-serifl; border-left:1px solid #7b7a6e;" onclick="javascript:location.href='<%=path%>/admin/BoardWrite.jsp'">
					<!-- <input type="button" name="submit" value="취소" /> -->
				글쓰기
				</div>
				<div class="text_11cc" style="text-align: center; padding:8px; width:860px; float:right;">${pageInfo.pagingHtml} ${requestScope.pageInfo.pagingStatus}</div>
				
			</div>
			
			
			<br><br><br>
			
			</div>
			
			
			<div id="review">
			<h2 id="sub_title">
			<span class="Etitle">REVIEW</span><span class="ktitle">이용후기</span>
		</h2>
		<script language="javascript">
			var DefaultURL = 'http://h-ps011u.monowebs.co.kr/board/index.php?board=noticeboard&key=&keyfield=';
			function change_sort(how, is_sort) {
				how += (is_sort) ? "_a" : "_d";
				document.location.href = DefaultURL + '&category=&reply=&sort='
						+ how;
			}
		</script>

		<div id="notice">
			<div id="select_area"></div>
			<div id="board_list">
				<table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" class="board_list">
					<colgroup>
						<col width="5%">
						<col width="30%">
						<col width="5%">
						<col width="10%">
						<col width="5%">
						<col width="5%">
					</colgroup>
					<thead>
						<tr>

							<th scope="col">No</th>

							<th scope="col">제목</th>
							<th scope="col">글쓴이</th>
							<th scope="col">등록일</th>
							<th scope="col">조회</th>
							<th scope="col" class="borderRno">삭제</th>
						</tr>
					</thead>
					

					<tbody>
						<c:forEach var="li" items="${rboard}">
							<tr class="li_bg1">
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${li.RB_NO}&ripple_subid=${li.RB_NO}'">${li.RB_NO}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${li.RB_NO}&ripple_subid=${li.RB_NO}'" class="board_title boardlist_title">${li.RB_TITLE}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${li.RB_NO}&ripple_subid=${li.RB_NO}'">${li.RB_NAME}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${li.RB_NO}&ripple_subid=${li.RB_NO}'">${li.RB_DATE}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${li.RB_NO}&ripple_subid=${li.RB_NO}'">${li.RB_HIT}</td>
								<td style="padding: 5px 5px"> <input type="button" name="item_ck" value="삭제" onClick="location.href ='<%=path%>/RboardDelete.rboard?rb_no=${li.RB_NO}'"/></td>
							</tr>
						</c:forEach>
					</tbody>

				</table>
				
				<div class="btn_submit2" style="display:inline; float:right; font: bold 12px/12px 굴림,Gulim,sans-serifl; border-left:1px solid #7b7a6e;" onclick="javascript:location.href='<%=path%>/Ara_board/RboardWrite.jsp'">
					<!-- <input type="button" name="submit" value="취소" /> -->
				글쓰기
				</div>
				<div class="text_11cc" style="text-align: center; padding:8px; width:860px; float:right;">${pageInfo.pagingHtml} ${requestScope.pageInfo.pagingStatus}</div>
				
			</div>
			
			<br><br><br><br>
			</div>
			
			<div id="question">
			<h2 id="sub_title">
			<span class="Etitle">QUESTION</span><span class="ktitle">이용문의</span>
		</h2>
		<script language="javascript">
			var DefaultURL = 'http://h-ps011u.monowebs.co.kr/board/index.php?board=noticeboard&key=&keyfield=';
			function change_sort(how, is_sort) {
				how += (is_sort) ? "_a" : "_d";
				document.location.href = DefaultURL + '&category=&reply=&sort='
						+ how;
			}
		</script>

		<div id="notice">
			<div id="select_area"></div>
			<div id="board_list">
				<table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" class="board_list">
					<colgroup>
						<col width="5%">
						<col width="30%">
						<col width="5%">
						<col width="10%">
						<col width="5%">
						<col width="5%">
					</colgroup>
					<thead>
						<tr>

							<th scope="col">No</th>

							<th scope="col">제목</th>
							<th scope="col">글쓴이</th>
							<th scope="col">등록일</th>
							<th scope="col">조회</th>
							<th scope="col" class="borderRno">삭제</th>
						</tr>
					</thead>
					

					<tbody>
						<c:forEach var="qb" items="${Qboard}">
							<tr class="li_bg1">

								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${qb.RB_NO}&ripple_subid=${qb.RB_NO}'">${qb.RB_NO}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${qb.RB_NO}&ripple_subid=${qb.RB_NO}'" class="board_title boardlist_title">${qb.RB_TITLE}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${qb.RB_NO}&ripple_subid=${qb.RB_NO}'">${qb.RB_NAME}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${qb.RB_NO}&ripple_subid=${qb.RB_NO}'">${qb.RB_DATE}</td>
								<td onclick="javascript:location.href = '<%=path%>/RboardDetail.rboard?rb_no=${qb.RB_NO}&ripple_subid=${qb.RB_NO}'">${qb.RB_HIT}</td>
								<td style="padding: 5px 5px"> <input type="button" name="item_ck" value="삭제" onClick="location.href ='<%=path%>/RboardDelete.rboard?rb_no=${qb.RB_NO}'"/></td>
							</tr>
						</c:forEach>
					</tbody>

				</table>
				
				<div class="btn_submit2" style="display:inline; float:right; font: bold 12px/12px 굴림,Gulim,sans-serifl; border-left:1px solid #7b7a6e;" onclick="javascript:location.href='<%=path%>/Ara_board/RboardWrite.jsp'">
					<!-- <input type="button" name="submit" value="취소" /> -->
				글쓰기
				</div>
				<div class="text_11cc" style="text-align: center; padding:8px; width:860px; float:right;">${pageInfo.pagingHtml} ${requestScope.pageInfo.pagingStatus}</div>
				
			</div>
			
			
			</div>
			
		</div>
	
	</div>

<br><br><br><br><br>
</div>

<%@include file="../footer.jsp" %>